//
//  RightsManageCell.h
//  StarOrangeStaff
//
//  Created by lshenrong on 2020/7/1.
//  Copyright © 2020 lshenrong. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN



typedef void(^SwitchBlock)(UISwitch *sender);

@interface RightsManageCell : UITableViewCell

@property(nonatomic,copy) SwitchBlock switchBlock;

- (void)updateTitle:(NSString *)title setOn:(BOOL)isOn;
- (void)updateTitle:(NSString *)title;

@end

NS_ASSUME_NONNULL_END
